<?php
class Application_Model_Config extends Application_Model_DomainObject{
	
	protected $_id;
	
	protected $_name;
	
	protected $_value;
	
	protected $_description;
	
	protected $_type;
	
    /**
     * 返回仓库地址
     * @return \Application_Model_Config 
     */
	public static function getStoreAddress(){
		return new Application_Model_Config(array('name'=>'仓库地址','value'=>'南山区测试路12号A1座3室'));
	}
    
    /**
     * 返回当前汇率 
     */
    public static function getRate(){
        return new Application_Model_Config(array('name'=>'当前汇率','value'=>6.12));
    }
    
    /**
     * 返回汇兑损失率
     * @return \Application_Model_Config 
     */
    public static function getDiscountRate(){
        return new Application_Model_Config(array('name'=>'汇兑损失率','value'=>1.03));
    }
    
    /**
     * 手工处理费
     * @return \Application_Model_Config 
     */
    public static function getProcessFee(){
        return new Application_Model_Config(array('name'=>'手工处理费','value'=>2));
    }
    
    public static function getReportFee(){
        return new Application_Model_Config(array('name'=>'报关费','value'=>8));
    }
    
    public static function getPremiumRate(){
        return new Application_Model_Config(array('name'=>'百分比险','value'=>0.03));
    }
}